<%--
  Created by IntelliJ IDEA.
  User: 98241
  Date: 2021/5/9
  Time: 12:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>第一个springmvc</title>
</head>
<body>
<p>控制器返回String-逻辑视图名称</p>
<form action="return-string-view1.do" method="post">
        姓名：<input type="text" name="name"><br/>
        年龄：<input type="text" name="age"><br/>
        <input type="submit" value="参数提交">
</form>
<br/>
<br/>
<p>控制器返回String-完整视图路径</p>
<form action="return-string-view2.do" method="post">
    姓名：<input type="text" name="name"><br/>
    年龄：<input type="text" name="age"><br/>
    <input type="submit" value="参数提交">
</form>


</body>
</html>
